package com.jie;

import com.jie.constants.RPanConstants;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 杰
 * @Project :net-disk
 * @Description: 启动类
 * @Version: 1.0.0
 * @DateTime: 2024/3/20 19:51
 **/
@MapperScan("com.jie.mapper")
@EnableAsync
@SpringBootApplication
@ServletComponentScan(basePackages = RPanConstants.BASE_COMPONENT_SCAN_PATH)
public class NetDiskApplication {
    public static void main(String[] args) {

        SpringApplication.run(NetDiskApplication.class, args);
    }
}
